![]() |
GetControlFeatures |
||||
Header: | Controls.h | Carbon status: | Supported | |
Obtains the features a control supports.
OSErr GetControlFeatures ( ControlRef inControl, UInt32 *outFeatures );
A handle to the control to be examined.
On input, a pointer to an unsigned 32-bit integer value. On return, the value contains a bit field specifying the features the control supports. For a list of the features a control may support, see ControlDefProcPtr.
A result code. The result code errMsgNotSupported indicates that the control does not support Appearance-compliant features.
The GetControlFeatures function obtains the Appearance-compliant features a control definition function supports, in response to a kControlMsgGetFeatures message.
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)